package com.ganinfo.api.controller;

import com.ganinfo.common.annotation.ApiMapping;
import org.springframework.stereotype.Component;

/**
 * 描述：
 *
 * @author: ruikanwang
 * @date: 2018/1/19 0019 15:29
 * @version: V1.0
 * 注意：本内容仅限于新疆感知科技有限公司内部传阅,禁止外泄以及用于其他的商业目
 * Copyright © 2018-ganinfo. All rights reserved.
 */
@Component
public class Test {
    @ApiMapping("test.html")
    public UserInfo test(Long userId) {
        UserInfo info = new UserInfo();
        info.setName("小明");
        info.setSex("男");
        info.setUserId(userId);
        info.setIdcard("430527198108145443");
        return info;
    }
}
